package com.zrwl.poscloud.base.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zrwl.poscloud.base.superI.SuperEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author liuxiaolong
 * @date 2022/7/28
 * @description 操作员机构授权
 */
@Data
@TableName("psms_tr_homework_batch")
public class HomeworkBatch extends SuperEntity<HomeworkBatch> {

    private static final long serialVersionUID = 1L;

    private String teacherUid;

    private String title;

    private String content;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String files;

    private String cancelReason;

    private int submitStatus;

    private int checkStatus;

    private int repeatType;

    private int submitDays;

    private int submitHours;

    private int repeatMaxCount;

    private int type;

    private int subjectType;


    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date publishTime;
    private String beginTime;
    private String endTime;
    private int timingPublish;//定时发布

    private String remindTime;//提醒时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date firstSubmitDate;//首次提交日期

}
